'****************************************************************************'
'                                                                            '
' Copyright (C) 2010 Muhammad alaa                                           '
'                                                                            '
' This program is free software; you can redistribute it and/or modify       '
' it under the terms of the GNU General Public License as published by       '
' the Free Software Foundation; either version 2 of the License, or          '
' (at your option) any later version.                                        '
'                                                                            '
' This program is distributed in the hope that it will be useful,            '
' but WITHOUT ANY WARRANTY; without even the implied warranty of             '
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              '
' GNU General Public License for more details.                               '
'                                                                            '
' You should have received a copy of the GNU General Public License along    '
' with this program; if not, write to the Free Software Foundation, Inc.,    '
' 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                '
'                                                                            '
'****************************************************************************'

Public Enum AutoCompleteListOptions
    None = 0
    CurrentDirectory = 1
    MyComputer = 2
    Desktop = 4
    Favorites = 8
    FileSystemOnly = 16
    FileSystemDirectories = 32
    VirtualNamespace = 64
End Enum

Public Enum SPAction
    None = 0
    Moving = 1
    Copying = 2
    Recycling = 3
    ApplyingAttributes = 4
    Downloading = 5
    SearhingInternet = 6
    Calculating = 7
    Uploading = 8
    SearchingFiles = 9
    Deleting = 10
    Renaming = 11
    Formatting = 12
End Enum

Public Enum SPBeginF
    Normal = 0
    AutoTime = &H2
    NoProgressBar = &H10
    MarqueeProgress = &H20
    NoCancelButton = &H40
End Enum

Public Enum SPText
    ActionDescription = 1
    ActionDetail = 2
End Enum

Public Enum SPInitF
    Normal = 0
    Model = &H1
    NoMinimize = &H8
End Enum

Public Enum DTI_ADTIWUI
    [Default] = &H0
    DispSubWizard = &H1
    PositionItem = &H2
End Enum

Public Enum CompElem
    Checked = &H2
    CurItemState = &H4000
    FriendlyName = &H400
    NoScroll = &H8
    OriginalCSI = &H1000
    PosLeft = &H10
    SubscribedURL = &H800
    Dirty = &H4
    PosTop = &H20
    PosZIndex = &H100
    RestoredCSI = &H2000
    SizeHeight = &H80
    SizeWidth = &H40
    Source = &H200
    Type = &H1
    All = (Type Or Checked Or Dirty Or NoScroll Or PosLeft Or SizeWidth Or SizeHeight Or PosZIndex Or Source Or FriendlyName Or PosTop Or SubscribedURL Or OriginalCSI Or RestoredCSI Or CurItemState)
End Enum

Public Enum AssociationType
    FileExtension
    URLProtocol
    StartMenuClient
    MIMEType
End Enum

Public Enum AssociationLevel
    Machine
    Effective
    User
End Enum

Public Enum AssocClass
    ShellKey = 0
    PRogIDKey
    ProgIDStr
    ClsIDKey
    ClsIDStr
    AppKey
    AppStr
    SystemStr
    Folder
    Start
End Enum

Public Enum SSM
    Clear = &H0
    [Set] = &H1
    Refresh = &H2
    Update = &H4
End Enum

Public Enum AppDocListType
    Recent = 0
    Frequent = 1
End Enum

Public Enum AttachmentPrompt
    None = 0
    Save = 1
    Exec = 2
    ExecOrSave = 3
End Enum

Public Enum AttachmentAction
    Cancel = 0
    Save = 1
    Exec = 2
End Enum

Public Enum ACDD
    Hidden = 0
    Visible = 1
End Enum

Public Enum BNState
    Normal
    BeginNavigate
    Navigate
End Enum

Public Enum FolderViewMode
    Icon = 1
    SmallIcon = 2
    List = 3
    Details = 4
    Thumbnail = 5
    Tile = 6
    Thumbstrip = 7
End Enum

<Flags()> _
Public Enum FolderFlags
    AutoArrange = 1
    AbbrevatedNames = 2
    SnapToGrid = 4
    OwnerData = 8
    BestFitWindow = 8
    Desktop = &H20
    SingleSel = &H40
    NoSubFolders = &H80
    Transparent = &H100
    NoClientEdge = &H200
    NoScroll = &H400
    AlignLeft = &H800
    NoIcons = &H1000
    ShowSelAlways = &H2000
    NoVisible = &H4000
    SingleClickActivate = &H8000
    NoWebView = &H10000
    HideFileNames = &H20000
    CheckSelect = &H40000
    NoEnumRefresh = &H80000
    NoGrouping = &H100000
    FullRowSelect = &H200000
    NoFilters = &H400000
    NoColumnHeader = &H1000000
    NoHeaderInAllViews = &H2000000
    ExtendedTiles = &H1000000
    TriCheckSelect = &H2000000
    AutoCheckSelect = &H4000000
    NoBrowserViewState = &H8000000
    SubsetGroups = &H10000000
    UseSearchFolder = &H40000000
    AllowRtlReading = &H80000000
End Enum

Public Enum CatSortFlags
    [Default] = 0
    Name = 1
End Enum

<Flags()> _
Public Enum CategoryInfoFlags
    Normal = 0
    Collapsed = 1
    Hidden = 2
    Expanded = 4
    NoHeader = 8
    NotCollapsible = &H10
    NoHeaderCount = &H20
End Enum

Public Enum CmEnumFlags
    All = 1
    Visible = 2
End Enum

Public Enum CredentialProviderFieldState
    Hidden = 0
    DisplayInSelectedFile
    DisplayInDeselectedFile
    DisplayInBoth
End Enum

Public Enum CredentialProviderFieldInteractiveState
    None = 0
    [Readonly] = 1
    Disabled = 2
    Focused = 3
End Enum

Public Enum CredentialProviderGetSerializationResponse
    NoCredentialNotFinished = 0
    NoCredentialFinished = 1
    ReturnCredentialFinished = 2
End Enum

Public Enum CredentialProviderStatusIcon
    None = 0
    [Error] = 1
    Warnning = 2
    Success = 3
End Enum

Public Enum CredentialProviderFieldType
    Invalid = 0
    LatgeText
    SmallText
    CommandLink
    EditText
    PasswordText
    TileImage
    CheckBox
    ComboBox
    SubmitButton
End Enum

Public Enum CredentialProviderUsageScenario
    Invalid = 0
    Logon
    UnlockWorkstation
    ChangePassword
    CredUI
    Plap
End Enum

<Flags()> _
Public Enum GetPropertyStoreFlags
    [Default] = 0
    HandlePropertiesOnly = 1
    ReadWrite = 2
    Temporary = 4
    FastPropertiesOnly = 8
    OpensLowItem = &H10
    DelayCreation = &H20
    BestEffort = &H40
    MaskValid = &H7F
End Enum

Public Enum SHCONTF
    Folders
    NonFolders
    IncludeHidden
    InitOnFirstNext
    NetPrinterSearch
    Shareable
    Storage
    FastItems
    FlatList
    EnableAsync
End Enum

<Flags()> _
Public Enum ExpCmdState
    Enabled = 0
    Disabled = 1
    Hiiden = 2
    Checkbox = 4
    Checked = 8
    RadioBox = 16
End Enum

Public Enum FDAP
    Bottom = 0
    Top = 1
End Enum

Public Enum ControlState
    InActive = 0
    Enable = 1
    Visible = 2
End Enum

Public Enum OverwriteResponse
    [Default] = 0
    Accept = 1
    Refuse = 2
End Enum

Public Enum FileUsageType
    Playing = 0
    Editing = 1
    Generic = 2
End Enum

Public Enum SVGIO
    Background = 0
    Selection = 1
    AllView = 2
    Checked = 3
    TypeMask = &HF
    FlagViewOrder = &H80000000
End Enum

Public Enum SVSIF
    Deselect = 0
    [Select] = 1
    Edit = 3
    DeselectOthers = 4
    EnsureVisible = 8
    Focused = &H10
    TranslatePt = &H20
    SelectionMark = &H40
    PositionItem = &H80
    Check = &H100
    Check2 = &H200
    KeyboardSelect = &H401
    NoTakeFocus = &H40000000
    NoStateChange = &H80000000
End Enum

Public Enum SortDirection
    Descending = -1
    Ascending = 1
End Enum

<Flags()> _
Public Enum FolderViewOptions
    [Default] = &H0
    VistaLayout = &H1
    CustomPosition = &H2
    CustomOrdering = &H4
    SupportHyperlinks = &H8
    NoAnimations = &H10
    NoScrollTips = &H20
End Enum

Public Enum FolderLogicalViewMode
    Unspecified = -1
    First = 1
    Detials = 1
    Tiles = 2
    Icons = 3
    Last = 3
End Enum

<Flags()> _
Public Enum HomeGroupSharingChoices
    None = 0
    MusicLibrary = 1
    PicturesLibrary = 2
    VideosLibrary = 4
    DocumentsLibrary = 8
    Printers = &H10
End Enum